LGBTQ+ advocates say the law threatens the privacy of doctors and trans patients seeking gender-affirming care.