Morely - First, congratulations for emerging from denial. Keep reinforcing yourself for taking that most difficult first step.
Second, bankruptcy won't discharge either your student loans or your IRS / CA tax obligations. I agree with others here: you need to find a lawyer. Avoid the many dishonest "discharge your IRS debt!" programs out there. Legal aid is probably your cheapest and safest route.
Finally: when I married my husband 28 years ago, he owed major back taxes due to a failed single proprietor business. I was amazed at how fair and reasonable the IRS person was. We each took on second jobs and paid back the taxes over time at a schedule we could afford.
Once you get a good legal aid attorney who has experience with situations like yours, don't walk, run to the IRS and start working with them. (My husband just commented from the kitchen: "Because if you don't, it's only going to keep getting worse... and worse... and worse.") The IRS person you work with will have seen hundreds of people in just your situation and can help you with realism. (I expect CA taxing authority needs to be your second stop.)
I don't have any experience with past due student loans and will let others who have navigated those waters comment.
You can do this - Best of luck and please keep us posted on your progress.