We use Sourceguardian to encrypt our app before shipping. We created a build pipeline in which one step is to "fix" the code to work with Sourceguardian. This incl