There is really no way find out whose tune you may or may not have. Sometimes you can identify if you have a tune by trying to set the cruise control at less than 30(?) mph.
Many generic or sub par tuners will also program out certain error or engine malfunction codes.
In my novice opinion...
Man, that has got to be super frustrating, after all is said and done and the "smoke clears" (😞 bad joke) hopefully they find that the error is simple and the fix is painless and permanent! Please let us know what the resolution is.
Sounds kind of nerve wracking. Here are 4 options, there may be more!
1. Take the truck back and tell the dealer you don't want it since it was sold with illegally modified emissions.
2. Check out the EOC website and contact them. They may be able to give information regarding a tune that is...