You brought up Brett Kavanaugh. That's a silly example. Anybody in politics knows it's a hostile environment. It's like walking into a gunfight and expecting to not get hit. You might not get hit. But just being there makes you a target.
In the OP's situation, basic sexual hygiene would have prevented the whole thing. It will for everyone that doesn't put themselves first and foremost in a shooting gallery.
You can use the concept of herd defense to contemplate how to remain safe in these sorts of situations.