Yes, protonMAIL sent the info they stored like IP used at signup and so on, irrelevant to your claim.
What would be illegal would be if a VPN company did log and then refused to comply when served a subpoena, but if you never stored it in the first place (running the VPN servers only in RAM)...