Mass shift and width broadening of ρ-mesons produced in heavy ion collisions