Just know in your heart, adultery is not acceptable to God, per his word. As for the legal system, it's a changing thing and I wouldn't bring up the dirty laundry. I had a 6 year long custody battle and H wouldn't give up. Believe me a broken down marriage is sufficient enough, in most states.