HMBS and autoimmune pancreatitis: Porphobilinogen deaminase (PBGD) is the third enzyme in this pathway, and its hepatic deficiency results in acute intermittent porphyria (AIP).