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.
Is this the context for that? https://www.advocate.com/election/2019/9/20/kamala-harris-denying-gender-affirmation-surgery-trans-inmates