Architectural Support and Modeling of Emerging Technologies for Datacenter Privacy and Security Applications