Wait...wait....are we talking about being attacked here, or just feeling uncomfortable?
Because...well, there doesn't seem to be much risk of being attacked in a public bathroom by a trans person (at least, you've presented no evidence for such), and we've offered suggestions to deal with that...