<!--  As an open source project with a dedicated but small maintainer team, it can sometimes take a long time for issues to be addressed so please be patient and we will get back to you as soon as we can.
-->

### Preflight Checklist
* [x ] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
* [x ] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to.
* [x ] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

### Problem Description
Following #20322 - for me as an Electron user, it's unacceptable that `second-instance` manipulates order of arguments, it's incompatible e.g. with [yargs](https://github.com/yargs/yargs) style (e.g. `myapp.exe -a 1 -b 2`). Current behaviour on Windows is confusing, not well documented.

### Proposed Solution
Although I have [described a workaround](https://github.com/electron/electron/issues/20322#issuecomment-617773983), I would like Electron to somehow overcome Chromium deficiency and pass the original `argv` to the `second-instance` event or pass any custom data comfortably.

I think the best solution could be by adding a string only param msg to `app.requestSingleInstanceLock(msg)` and the [`second-instance`](https://www.electronjs.org/docs/api/app#event-second-instance) would returns the fourth value `msg`.

Other solution may be:
1. `second-instance` would get the original `argv`, not the Chromium one. 
2. If a user pass a custom data `app.requestSingleInstanceLock(argv)`, then the `second-instance` would return this custom data as `argv`, probably processed by `JSON.parse(JSON.stringify(argv))`.

shell/browser/api/electron_api_app.cc
#include "chrome/common/chrome_features.h"
#include "chrome/common/chrome_paths.h"
#include "content/browser/gpu/compositor_util.h"        
#include "content/browser/gpu/gpu_data_manager_impl.h"  
#include "content/public/browser/browser_accessibility_state.h"
#include "content/public/browser/browser_child_process_host.h"
#include "content/public/browser/child_process_data.h"
#include "content/public/browser/client_certificate_delegate.h"
#include "content/public/browser/gpu_data_manager.h"
#include "content/public/browser/network_service_instance.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/common/content_switches.h"
#include "media/audio/audio_manager.h"
#include "net/dns/public/util.h"
#include "net/ssl/client_cert_identity.h"
#include "net/ssl/ssl_cert_request_info.h"
#include "net/ssl/ssl_private_key.h"
#include "sandbox/policy/switches.h"
#include "services/network/network_service.h"
#include "shell/app/command_line_args.h"
#include "shell/browser/api/electron_api_menu.h"
#include "shell/browser/api/electron_api_session.h"
#include "shell/browser/api/electron_api_web_contents.h"
#include "shell/browser/api/gpuinfo_manager.h"
#include "shell/browser/electron_browser_context.h"
#include "shell/browser/electron_browser_main_parts.h"
#include "shell/browser/javascript_environment.h"
#include "shell/browser/login_handler.h"
#include "shell/browser/relauncher.h"
#include "shell/common/application_info.h"