Do you have sources for these statements?
The latest thinking is that the Universe is expanding at an accelerated rate and that, likely, it will not contract but expand forever likely due to dark energy and dark matter.
The Sun indeed loses mass every day through radiation of energy and high energy particles and thus its gravity is decreasing. Result will be the Earth will move further from the Sun.
In addition there are other forces in play involving conservation of rotational energy and angular momentum which further argue that the Earth is moving away from the Sun as is the Moon moving away from the Earth.