You may indeed have a licensing issue... but how is that going to be enforced? Given the shear amount of AI generated code coming down the pipes, how?
Those who lived through the SCO saga should be able to visualize how this could go.
If they wanted to, they could take that output and put you out of business because the output is not your IP, it can be used by anybody.