I am not aware that Utah has any such law. But neither do we have any law or court ruling of which I'm aware that would prevent a homeowner from using the same force against a police officer illegally entering his home as he would against a private citizen illegally entering his home. So I don't see that we need any law dealing with police officers illegally entering a home.
The more challenging question--and the question that attaches to the Weber task force--is what can a citizen legally do when confronted by unknown persons entering his home violently when those persons turn out to be police officers executing a warrant? Obviously it is legal for the police to enter a home when they have a warrant. I would assert that it is just as obvious that a homeowner cannot be held accountable for what he can't have reasonably known at the time he acts.
In other words, if police wish to don masks and make a violent entry into a man's home, they need to be fully prepared for the fact that the homeowner might well respond in lawful defense of himself, family, and home. Simply yelling "Police" cannot reasonably be proof that the homeowner knew or should have known the home invaders were actually police executing a warrant; criminals, including gangs, have been known to yell "police" so as to reduce resistance as they storm a targeted home.
I think the solution to the problem is to dramatically reduce the use of no knock and even knock and announce warrants that allow dynamic entry. I'm not one to legalize recreational drug use nor production. But even still, I see little benefit in using military style tactics against private homes, especially when the amount of drugs being produced or sold is likely to be small. And the risks to innocent persons when a wrong home is picked, or other mistakes are made are quite severe. The risks to police of entering what could be a well defended home also seems high compared to the benefits. Most criminals eventually go shopping, or order in a pizza, or otherwise leave their home and should be arrested there. I wonder how many others would surrender without a problem if a proper number of offices were to surround the home and then someone simply knock on the door or call on the phone to announce their presence.
In any event, because I don't use drugs, I worry a lot more about the cops getting my house my mistake than I do about drug dealers targeting me for harm. The odds of the cops getting my house by mistake seem very small; but probably larger than the risk of drug dealers targeting me.