The COVID-19 pandemic offers Big Tech a golden opportunity to rebuild the public trust it squandered during the past four years.

Americans’ reliance on tech has soared since people began sheltering in place. The industry should rise to the moment, doing everything possible during the crisis to restore confidence in technology’s ability to be a force for good in the world.

Some companies, including Google, Cisco and Facebook, have made generous contributions to support struggling businesses, organizations and health care workers. Apple and other tech firms have donated millions of masks they had stockpiled during the California wildfires to U.S. health care workers.

That’s appreciated. But this is about a more fundamental change in the industry, which has been and will continue to be a critical part of the nation’s coronavirus response. It’s time for tech leaders to embrace privacy and consumer protections they have so long resisted.

For starters, they can withdraw their long-standing opposition to fundamental online user safeguards, including the Internet Bill of Rights being developed by U.S. Rep. Ro Khanna, D-Calif.

Privacy guarantees are emerging as a major issue in the effort to develop an exit strategy from the pandemic. Aggressive contact tracing will be essential to identifying and tracking individuals with COVID-19 and determining who they may have put at risk for infection. Guarantees need to be in place that ensure individuals’ privacy rights will not be trampled in the process.

The Bay Area’s biggest companies are largely modeling good behavior. Google and Apple are teaming up to develop a contact tracing app that would use Bluetooth technology, potentially eliminating many of the privacy concerns. While they talk about privacy concerns, we will soon see if they back that up in the development of these critical new products.

Practicing responsible business behavior isn’t just the right thing to do. It’s also good business. Rebuilding trust must be a priority for the industry if it hopes to maintain its long-term growth, both at home and abroad.

The pandemic response provides technology firms the chance to prove the nation’s and world’s trust in them is not misplaced.