So, it does nothing to stop the violence, it is just an additional punishment once the thug is caught?
Not useless, but not really helpful in the context of STOPPING mob violence.
It could deter the violence. If they didn't prefer to commit these crimes hidden, they wouldn't be wearing the masks.
I think it'll help.