Don't use ChatGPT, like all art AIs it's based on content, where no one asked the creators if they want them to use it. Legal by law or not. The intention of the law could not have been to use content in this way without consent.