Engineering Heavy-Metal-Free Ternary Colloidal Quantum Dots For Security And Energy Applications