The somatic process that results in the generation of sequence diversity of immunoglobulins after induction, and contributes to an immune response.