negative regulation of nucleobase-containing compound metabolic process