New York State and New York City have passed sweeping laws aimed at preventing sexual harassment in the workplace and limiting the use of mandatory…