28-11-215. Exoneration of guarantor indemnified by principal. A guarantor who has been indemnified by the principal is liable to the creditor to the extent of the indemnity notwithstanding that the creditor, without the assent of the guarantor, may have modified the contract or released the principal.