I’m not positive of the context for the first clip, but I assume it’s something related to this: https://www.them.us/story/chase-strangio-aclu-gender-affirming-healthcare-prison-jail-detention-trump-debate
Tldr, the law that Kamala was referring to was the Constitutional right of incarcerated people to receive medical care, which includes gender-affirming care for trans prisoners.