One law or legislation relevant to xenophobia would be the temporary immigration ban that was enforced by Barrack Obama in 2011, where he had a temporary hiatus on people coming from Iraq. This was something that can be classified as a clear case of xenophobia - people coming from this area were all unjustly treated as being or belonging to some sort of unsafe network of terrorists.