Cargo protein of a type 1 encapsulin nanocompartment (PubMed:24981030). 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-terminal 38 residues (targeting peptide, TP) are sufficient to target this foreign proteins to the nanocompartment in vivo. The 38 C-terminal residues can be used to target foreign proteins to the nanocompartment. Belongs to the DyP-type peroxidase family.