Granted there's an easy counter argument there (all the more prescient these days) that they could wear a mask while committing the crime.
There's a similar (less discussed about) trend happening these days. Law enforcement is using DNA evidence from crime scenes, passing it through (sometimes private) DNA databases and getting matches.
Let's say those database continue to have more data – what are the odds that someone involved in a crime will leave some DNA behind, and will either themselves have their DNA in a database, or, a relative. The chances of you getting away with a crime converge to zero. And if you know you have high odds of getting caught when doing the crime, you might be less likely to do it in the first place.