This division shall not apply to the construction, financing, or leasing of dwelling units pursuant to Section 65852.1 or second units pursuant to Section 65852.2, but this division shall be applicable to the sale or transfer, but not leasing, of those units.