Civil society was founded on, and still depends on, public trials and public laws. Since Hammurabi. That has nothing to do with "ubiquitous surveillance", it is the most important and basic record keeping.
It is up then to each person reading the records to decide if a crime is old enough or unimportant enough to not matter. That should not be the decision of internet censors or courts who want to sweep their traces under the rug. Or criminals wanting to do that.
If most people think that drug use is not something a person should be trialed for, then the laws need to be changed. Censoring doesn't remove the fact. It just removes discourse to the realm of gossip.