Nanophotonics for Novel Refractive Index Sensing and Deep UV Light Generation