Replacing the legacy Indian Penal Code also removed legal safeguards to protect the trans community from sexual violence.