CLDC-4461: Hide confidential addresses - fix confidential to non confidential edge case (#3373)
* Fix bug where the UPRN/address questions were not shown after switching from a confidential to a non-confidential scheme
* Improve tests
* Hide address data in CSV download for logs in confidential schemes
* Action PR comments
* Action second round of PR comments
attribute="rent_type"ifattribute=="rent_type_detail"# rent_type_detail is the requested column header for rent_type, so as not to confuse with renttype. It can be exported as label or code.
returnnilifhide_confidential_scheme_address?(attribute,log)# TODO: (CLDC-4462): delete once address data for logs in confidential schemes is wiped.