Mineral analysis of sandstone formation using chelating agents during sandstone matrix acidizing