Effect of Dust Enrichment on Solid and Liquid Compositions in Equilibrium with Cosmic Gases