Can dogs get STDs?

My pup picked up a used condom on the beach right now. She only had it in her mouth for a second but do I have to worry about her getting a disease or is that not possible? Also, do I have to worry about her licking my face? If so, how long should I avoid that? Thanks. - Worried fur mama