By this logic we should ban all extra marital relationships as well. Add to that mandatory DNA tests for all kids just in case.
People will do things in private that they do not want known. No amount of legislation will fix it.
Banning infidelity is another thing entierly, but DNA parental tests are the bomb.
That said, OF is not private, and that kind of negates your point.
Men get so stupid when they think with their member instead of their brain.
This is well known by your local spymaster, and all nerdy HN types should be extremely suspicious of beautiful women asking them questions. Femme fatales and honeypots are some of the lowest cost, easiest ways to get powerful, horny men to spill the beans on just about anything.