A lender may not take an instrument in which a borrower waives any right accruing to the borrower under this chapter.