Security Enhancement and Bias Mitigation for Emerging Sensing and Learning Systems