In holometabolous insects, up-regulated immune functions including lysozyme production have been detected in the midgut of mature larvae before pupation, which are presumably vulnerable to bacterial infections during the radical developmental reorganization of metamorphosis [49], [53]–[55]. Here, LYZ is linked to bacterial infectious disease.