In both string theory and soliton theory, moduli spaces are frequently used.
As far as I known, for soliton theory, moduli spaces are something like collective coordinates for solitons, and for string theory, moduli spaces is the spaces of all metrices divided by all conformal rescalings and diffeomorphisms. It seems like these two definitions(?) of moduli spaces are quite different, but the same terminology is used in both cases. I also learned that the name 'moduli spaces' comes from abstract geometry, but I don't know if that's any help here.
My question is the following: Could anyone provide an intuitive connection between the two uses of moduli spaces, or highlight the differences?