This division does not apply to any loan that is made or arranged by any person licensed as a real estate broker by the state and secured by a lien on real property, or to any licensed real estate broker when making such a loan. A licensed real estate broker may make a loan secured by a lien on real property for sale to a finance lender or arrange for a loan secured by a lien on real property to be made by a finance lender without obtaining a license under this division.