Preventing emission of hexavalent chromium at the chimney outlet