Mr. Brodsky , who is running against Andrew Cuomo , Mark Green and Denise O'Donnell , a former United States attorney in the Buffalo area , for the Democratic nomination , said a civil confinement law , which lawmakers in Albany are now considering , would not solve the problem of sexual predators if prosecutors did not also make cases that lead to tough sentencing . ''