Lawyer gets 8-year sentence for exploiting homeless minors