IMO, the proper solution is to involve both sets of parents.
But it's not society's job to make things easy for the Cops/DA/Lawmakers (It's really sorta vice versa.)
When serious crimes are committed they should be prosecuted not swept under the rug.
(In other words: do I think throwing kids in Juvie for publishing child porn on the internet is the right call? Yes. )