The shadow housing secretary has been served notice to leave his home in his Braintree constituency in Essex after new rules granting greater protections for renters were written into law.