String-generated gravity models with cubic curvature terms