Perturbed stochastic hereditary differential equations with integral contractors