Manifestation of nematic degrees of freedom in the Raman response function of iron pnictides