The proposed legislation is terrible.
First and foremost, if it has to be, it should target all cars equally. If they are under some noise threshold, then add noise. If this isn't done, then it screams of anti-EV activism.
Second, pedestrians need not be alerted in any active way because it is the responsibility of the driver not to run people over at low speeds.
Third, it's adding an annoyance 100% of the time to address a situation that only occurs an extremely small percentage of the time. It's an extremely inefficient solution. It's like always leaving your sink running on the off chance that your cat's water dish might briefly go empty some day.
Fourth, the measure is an extreme overreach as well. It's the equivalent of requiring pedestrians who travel on foot near roadways to wear special clothing with strobe lights to better signal drivers of their presence in the name of safety.
Fifth, especially in combination with issue one, it WILL reduce adoption of EVs. I myself am a huge supporter of the electrification of the automobile, but if the EV I'm considering buying makes noise at low speed, it will give me pause and make me reconsider. Ultimately, I'll probably still buy, and just disable the noise polluter.
Sixth, there will be many like myself who would disable the noise polluter anyway. I'm generally very square and never violate any laws, but I would make an exception for this one.
Seventh...just...seriously?
Eighth, there are already too many crybaby safety laws. Such laws may be enacted with the intent to improve safety, but they have been taken too far, and have crossed the line into communism and the erosion of personal freedoms and liberty.
Ninth, the current proposals are short sighted and do not allow for companies like Tesla to develop truly intelligent solutions that can bridge the enormous gap between the noise pollution camp and the safety camp. See Elon's response to this question in the last shareholder's meeting for an example solution that I could support without causing me to go Rambo on the safety camp.
Tenth, there is a limit to how much safety is worthwhile. Should all speed limits on all roads be reduced by 20%? That would save lives. Should rock climbing and sky diving be outlawed? That would save lives. Should commercial airlines be required to have ejection seats for all passengers? That would save lives. Should fireworks be outlawed for Independence Day? That would save lives. Should noise makers be added to all quiet cars? That would save lives. The answer to all of those is No.