President Andrzej Duda said he would approve the law, but, in a concession to critics, he said the Constitutional Court would determine whether it violates freedom of speech.