I have Group b strep, will baby be ok?

I Just found out I have group b strep and a uti. I was given antibiotics for the uti and they said they would administer them through my iv during labor too. I have read up on this and I am now terrified. Has anyone else gone through this and their baby was ok? Someone told me that it's bad if I found out through the urine sample before 35 weeks. I also asked the dr and she said I had high levels and I'm afraid I'm going to lose my baby. I am 17 weeks...