Under federal law a successful bankruptcy filing and discharge can and will get one's name off of a loan as in your matter and release any obligation that you may have. One way to get your name off of the loan as opposed to filing for bankruptcy is to see of your second husband can refinance the loan.