In an on-balance-sheet guarantee, the bank uses some mechanism (typically a government guarantee) to protect part of its portfolio against losses.
In an internal restructuring, the bank creates a separate unit to hold the bad assets.