If the value of the real property has depreciated below the payoff on the primary mortgage, then the second mortgage can be "re-labeled" as  unsecured debt and "stripped" off in a chapter 13 bankruptcy. This type of motion was commonly filed after the last real estate crash, but the opportunity isn't common in a strong housing market.