New law defines 'consent', prosecutors say it's helping in the courtroom