Astrochemistry of the Molecular Gas in Dusty Star-Forming Galaxies at the Cosmic Noon