2D Rare-Earth Material Can Be Used as a Photocatalyst