By that logic it would be enough when you looked once at GPL code to tain your brain forever and all your future output needs to be GPL. That's not how it works.
LLMs don't have brains that read copyrighted works. They literally are the copyrighted works themselves.
Peeking once at gpled code isn't enough to create licensing issues, but it's absolutely enough to preclude "clean room" implementations.
There is a big difference in requirements between the two.