Leveraging Machine Learning For Managing Prefetchers And Designing Secure Standard Cells