Criminal charges and arrest records are public information. You could not possibly pass a law forbidding someone from displaying public information. And we certainly would not want to pivot to secret court systems.
I think what you really want is just transparency.
Yeah, I think we need to allow publishing them so you can't have secret arrests. What I'm proposing to make criminal is publishing deceptive records. So long as you tell the whole truth, fine.