Sex the cause of GBS?

So my midwife told me that having sex frequently could be a cause of testing positive for strep B. Anyone heard this? We definitely have sex every other day and haven’t stopped since I got pregnant. I’m 37 weeks so...

Anyway just wanted to know y’alls thoughts 🤷‍♀️