I tend to doubt the bubbles are from CO2, they should dissolve pretty quickly. If you have a very dirty tank though proteins would stick to the surface of the water and any bubbles, usually just normal air bubbles, and you'd end up with foam like that. One of my tanks that's very heavily fed is like that.