Ionization dynamics of orbitals and high-harmonic generation of N2 and CO molecules at the various XC potentials by TD-DFT