Add util function to mask credit card from xml so we can log it