You might be referring to a "hold harmless clause." That is a clause in an agreement in which one party agrees to take the responsibility for any lawsuits or claims against the other party that might arise out of a transaction. For example, in a divorce, the husband might sign over his rights to the house to the wife, and the wife will agree to "hold harmless" the husband, which means that if there are any outstanding bills, claims, debts or obligations connected with the house (for instance overdue property tax), the wife will assume all those obligations.