TALLAHASSEE (CBSMiami/NSF) —  A measure inspired by the death of Caylee Anthony was approved unanimously Wednesday by the House Judiciary Committee.

The bill (HB 37) would make it a third-degree felony for parents or guardians to lie to law enforcement officials when a child under 16 is missing, dies or is seriously injured.

READ MORE: Parkland dad Manuel Oliver "very angry" following Texas elementary school shooting

Caylee Anthony’s mother Casey Anthony was acquitted of murder last year. But she was convicted on four misdemeanor counts of misleading law enforcement officers after her daughter’s 2008 disappearance.

READ MORE: 18 children, 2 adults killed after shooter opens fire at Texas elementary school

The bill, had it been in place, could have caused Anthony to be sentenced to as long as 20 years in prison.

“There will be never justice for Caylee,” said bill sponsor Rep. Jose Diaz, R-Miami. “But it will be a much needed adjustment to our laws.” The measure now goes to the House floor.

MORE NEWS: Florida lawmakers tee up property insurance changes

“The News Service of Florida contributed to this report.”