Text this: Formation of CN and CO Molecules in the Envelope of Nova V1391 Cas During the Near-maximum Phase