How does hemoglobin contributes to the buffering activity of blood?

Haldane effect. Has to do with the histidine units. This is as clear as you'll find, for the anesthesiology people https://www.openanesthesia.org/haldane_effect/