Waterproof layer for high-voltage cables