Attosecond dispersion as a diagnostics tool for solid-density laser-generated plasmas