Sexually transmitted diseases are transmitted by oral (mouth) to genital/anal contact, unclothed genital to genital contact, and unclothed genital to anal contact. Usually, it requires some significant grinding or rubbing, or penetration.
Did any of that happen during your massage? You don't mention your genitals coming into contact, if this has already happened. If that doesn't happen, there is no risk.