Non-consensual violence is prohibited because it directly harms other people. Face coverings don't directly harm anyone and laws that exist only for the government's convenience are authoritarian laws. There are ways to investigate bank robberies even if the robbers are wearing masks and in fact a law against masks is fairly ridiculous because anyone willing to break the law against robbing banks would be willing to break a law against wearing a face covering, so such laws only afflict innocent people.