Mechanical properties of the rocky interiors of icy moons