Prison guard sentenced for smuggling contraband