I don't think this addresses the concerns being replied to. Teaching is incredibly difficult and time consuming, and just like teachers do not have the time or expertise to also be full time social workers for their students, they also do not have the time or expertise to ensure that surveillance data about their students is appropriately secured and purged. The same applies to local school administration officials, who as you point out are few in number and already stretched too thin across their existing responsibilities.
I don't think anybody's saying that a particular teacher or administrator is to blame, but the original anecdote you shared is a bit chilling if you grew up expecting your childhood misdeeds to be forgotten over time. I remember that the most frightening thing the principal could say to you was "This is going in your permanent record"; the expectation otherwise was that it wasn't.