Criminals caught with electronic devices used in 40% of car thefts face up to five years in prison under a new law.