[views] Remove more uneeded raw() and create a helper icon function