It's not bacteria. The only organisms that can digest lignin are fungi, and they do it by blasting lignin with peroxides.

As such, this works only in aerobic environments (not swamps).