I do not feel you have either of those STD'S! Both of those are exchanged by sexual intercourse! as long as it wasnt oral sex you are fine!
I agree, and if someone has syphilis, I sure hope they are getting treatment.
Skin to skin contact in regards to STDs means either genital to genital, mouth to genital, or mouth to anal contact. It doesn't mean arm to arm, mouth to mouth, etc.