The lawmaker drafted the bill after a Campbell High School teacher reached out to him earlier this year.