(7) Security interest means a right under a mortgage, deed of trust, assignment, judgment lien, pledge, security agreement, factoring agreement or lease and any other right accruing to a person to secure the repayment of money, the performance of a duty or any other obligation by a nonaffiliated person.