Make student loans dischargeable in bankruptcy, subject to some restrictions. Writing out those restrictions would be tricky, but I bet it could be done and land in a reasonable spot.
You don’t want the future lawyers & surgeons with upcoming 7 figure incomes to be able to discharge their student loans the second they finish med/law school and are in residency / working as associates with a temporarily low income. But the person who spent 3 years as a Communications major who never finished and now works at Starbucks has no realistic change of ever paying that loan off… and quite frankly probably shouldn’t have been permitted to rack up so much debt in the first place.