And as I mentioned before, if it was too short you could declare bankruptcy, which is an option you don't have with student loans. My point that even in the worst case you're in a better position than before still looks valid.
And if they aren't, personal loans are possible. Or even bankruptcy! The common thread between these options is that they're better than being $50k in non-dischargeable debt.
[1] https://www.irs.gov/payments/payment-plans-installment-agree...
IRS liabilities can easily be repaid over long time scales, usually at much lower interest rates than you can get on unsecured loans such as a student loan.
A $50k non-dischargeable loan, at a relatively high interest rate, with a flexible repayment timeline does not appear, to me, to compare favorably with a $15k IRS liability, dischargeable in bankruptcy, at relatively low interest rates with a similarly flexible repayment timeline.