(b)every hoistway and liftway shall be sufficiently protected by an enclosure fitted with gates, and the hoist or lift and every such enclosure shall be so constructed as to prevent any person or thing from being trapped between any part of the hoist or lift and any fixed structure or moving part;