Hi,I don't understand that you have mentioned top of the condom has gone,if condom had broken , you are at risk for HIV and other std's,as you mentioned she is a CSW who are at high risk of std's.
If condom had broken during the intercourse with CSW pep is warranted there,better consult your near by doctor then follow his advice regarding pep.