Legal stuff is vital.
Security agreement: Standard form under Uniform Commercial Code. Describes when lender can claim collateral.
UCC Form-1: Filed with Secretary of State to establish claim. Future lenders do search, won’t lend if prior UCC-1 is on file.