american governments are allowed to infringe on the constitution, it doesn't last because eventually the law reaches the courts and some judge will say "this is unconstitutional" and end it there or it will go to the supreme court. the key point is that during the time it takes for the courts to strike down the law the government has time to use their law to abuse american citizens accomplishing whatever goal they were going for. i good example of this are red flag laws which infringe on the fourth amendment, but are allowed until the courts tell the government that.
United States