Either way if it's functional then at most you get 20 years of protection. What's shared in both cases is that you can't trademark the shape.