I just saw a project that lets you input an entire repo into GPT. Coincidentally, my place of employment just told us not to input any proprietary code into any generator with a retention policy.
Even then, I feel like the play will be an enterprise service instead of licensing.