Oh and by "significant rubbing of the genitals", I mean genital to genital rubbing, not hand to genital.
There is no risk for any STDs from anything you describe.
To transmit an STD, there has to be oral, vaginal or anal sex, or significant rubbing of the genitals. None of that happened.