You can’t take away the knowledge true. But you can take away the credential.
The law will be, on discharge of educational debt, the debtor shall be criminally prosecuted for fraud for claiming to possess the particular degree or to have attended law school for any purpose whatsoever (other than to explain a gap in time on a resume, and for that purpose there shall be a standardized form).
I doubt there is much useful in anyone’s mind from the 3 years of law school. Just residual anxiety and fear.