Role of metal contaminants in the production of carbon dioxide during the regeneration of cracking catalysts