Cargo protein of a type 1 encapsulin nanocompartment. Has both general peroxidase activity and dye-decolorizing activity. Can catalyze the oxidation of both protoporphyrinogen IX and coproporphyrinogen III to their corresponding porphyrins. Also efficiently decolorizes the dyes alizarin red and Cibacron blue F3GA (By similarity). This cargo-loaded encapsulin nanocompartment is probably involved in protection against oxidative damage (By similarity). Homohexamer. The C-terminus (at least 10 residues, not detailed in paper) targets the protein to the nanocompartment. Belongs to the DyP-type peroxidase family.