I work on a 17.5 million line code base across 4 different languages that I know will not be something chatGPT has trained on and it won’t be due to commercial interests. Not worried about it.
A lot of the older code isn’t a great example of how to do things. Either too enterprisey, or C/C++ written by newbies coming from a mainframe RPG background.