The 10th Amendment says nothing about areas that the states can’t choose to enforce laws—only areas that the federal government can’t choose to go.
The AZ law is a state law chosen by the state and in no way is it possible for such a law to violate the 10th Amendment.
http://www.stateline.org/live/details/story?contentId=170453