Prêts Hypothécaires, Investissement, Législation