chore: cherry-pick of 7fb614 from release/v51.3.1 branch (#3021)
chore: cherry-pick of 7fb614 from release/v51.3.1 branch (#3021)


forcedotcom/salesforcedx-vscode,forcedotcom/salesforcedx-vscode,forcedotcom/salesforcedx-vscode,forcedotcom/salesforcedx-vscode