Sen. Adam Schnelting, R-St. Charles, said his bill would prevent legal challenges against school districts that want to require transgender students to use facilities that match their biological sex.