Let's be honest here. There IS a good reason why such laws are on the books. And no, it's not aimed as an anti-gay or anti-lgbt measure.
There have been, more then a few cases in the past, where people have DELIBERATELY and WILLFULLY infected multiple partners with HIV because they felt since they were infected, everyone should be infected. That is where the laws stem from.
That said, I think the laws in question need a fair bit of tweaking and consideration.
There's a vast difference, to me at least, between DELIBERATE, INTENTIONAL infecting of one or more partners and UNKNOWINGLY infecting a partner. There's also the issues, with in all communities regardless of gender and orientation, of the stigma of being HIV Positive. Far too many folks are undereducated or uneducated in the realities of HIV and AIDS. In the differences in exactly how safe 'safe sex' is. The differences between positive and detectable vs positive and undetectable, etc.
There's a whole spectrum of issues to consider. And sadly, far too many of today's youth, see HIV like the common cold snorts Oh I get it, I take the meds, I'm good.