As far as fighting crime, this is totally useless. Once passed, the criminals will just stop confessing these sins.
So the only things it helps is further the government abuse of the church.
Assuming of course, that they are confessing them in the first place, which is a dubious proposition.