Follow CBSDFW.COM: Facebook | Twitter

AUSTIN (AP) — The Texas lawmaker who wanted to bar media access to the names of people involved in traffic accidents now says it probably won’t survive a court challenge and will likely be dropped.

READ MORE: Southern Border Patrol Agents Save Undocumented Migrant Who Fell Under Train, Remind Others 'Don't Trust Smugglers' 

The Senate approved the measure late Sunday night at the urging of Lubbock Republican Charles Perry.

It was added to a bill protecting accident victims from being harassed by lawyers seeking to file lawsuits. Perry wanted to protect the families of accident victims from hearing their loved one’s name in the media.

READ MORE: Dallas Baptist Falls 1 Game Short In Bid For 1st College World Series Berth

The measure would require police to issue redacted accident reports without the names and personal information of those involved. It is opposed by public records advocates.

Perry said he didn’t know a similar bill passed in 1997 was declared an unconstitutional restriction on the media.

MORE NEWS: Child Tax Credit: How Much Will Your Monthly Check Be?

(© Copyright 2015 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)