Deep Learning-Based Sustainable and Secure Communications for Next-Generation Wireless Networks