Police officers and paramedics can save lives by recognizing vehicles they have helped in the past.

But they often don’t know exactly what kind of vehicles they are helping, which is why some cities are introducing legislation requiring their police departments to keep track of their vehicle inventory.

The legislation comes amid a growing concern about police violence, particularly from black and Hispanic communities.

A study by the National Law Enforcement Officers Memorial Fund found that white officers were nearly seven times more likely to be killed by a black or Hispanic officer than white police were to be injured in a violent encounter.

The NYPD has been working with the National Association of State Highway Patrols and other groups to make it easier for police departments across the country to track their vehicles, a department spokesman told NBC News.

The bill passed the Assembly by a vote of 36-16 last week, and has not yet been sent to Gov.

Andrew Cuomo for his signature.

But the measure could have an impact.

The state is already facing the most severe shortage of state troopers since a 2009 police killing of an unarmed black man in a Brooklyn precinct.

The state is also on track to be hit with a record $11.2 billion budget deficit for the fiscal year beginning Oct. 1, according to the Legislative Fiscal Bureau.