There's no reason for you to have to lie for him to cover up his affair. Whether you try proactively exposing, or simply stop lying to people when they ask you, this is HIS mess, and you should let him clean it up.
Consequences. Life works with CONSEQUENCES, and you do him (nor yourself) no favors when you rescue him from his.