The proposed legislation aims to provide real-time warnings to schools, daycares, and nearby residents during active threats.