Simple solution is to just work with a fertility doc who is female or a person of a different race than picked sperm. Will be obvious if child is mixed. I am worried about future ethics of DNA sequencing. Esp if lab techs are corrupted. That will prob be the future - bastard children at scale.
You have misidentified the problem.