California has enacted a first-in-the-nation law banning federal and local law enforcement officers from wearing masks while on duty.