The difference between the Arizona law and the Texas law is that the Arizona basically set up its own immigration policy in opposition to the federal government. The Texas law is requiring all its counties and municipalities to cooperate with the federal government.
Incidentally, the US Supreme Court has ruled on Arizona vs United States. Some of its provisions having to do with a state requirement that aliens always carry their papers, and a state penalty for working without federal work authorization were overrules as preempted by federal law.
But (per Wikipedia) “All justices agreed to uphold the portion of the law allowing Arizona state police to investigate the immigration status of an individual stopped, detained, or arrested if there is reasonable suspicion that individual is in the country illegally.”
IOW, what Ms. Lee terms “racial profiling” has already been upheld by the Supreme Court.