Cops, firefighters to get prior notification of street closures under new law